package com.feinzs.demo;

import com.gitee.feizns.premission.menu.Menu;
import com.gitee.feizns.premission.menu.intercetor.VerificationHandler;

/**
 * @author feizns
 * @since 2019/5/10
 */
public class Handle implements VerificationHandler {

    private String currentUserPermission = "123";

    @Override
    public boolean verify(Menu menu) {
        return currentUserPermission.contains(menu.getId() + "");
    }

}
